import request from '@/utils/request'

// 查询我的收藏  -签证咨询列表
export function listCollectvisa(query) {
  return request({
    url: '/member/collectvisa/list',
    method: 'get',
    params: query
  })
}

// 查询我的收藏  -签证咨询详细
export function getCollectvisa(id) {
  return request({
    url: '/member/collectvisa/' + id,
    method: 'get'
  })
}

// 新增我的收藏  -签证咨询
export function addCollectvisa(data) {
  return request({
    url: '/member/collectvisa',
    method: 'post',
    data: data
  })
}

// 修改我的收藏  -签证咨询
export function updateCollectvisa(data) {
  return request({
    url: '/member/collectvisa',
    method: 'put',
    data: data
  })
}

// 删除我的收藏  -签证咨询
export function delCollectvisa(id) {
  return request({
    url: '/member/collectvisa/' + id,
    method: 'delete'
  })
}

// 导出我的收藏  -签证咨询
export function exportCollectvisa(query) {
  return request({
    url: '/member/collectvisa/export',
    method: 'get',
    params: query
  })
}